package com.mzpai.product.model;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="购物车信息")
public class StoreCart extends BaseModel{
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="主键")
	private Integer id;
	@ApiModelProperty(value="用户ID")
    private Integer uid;
	@ApiModelProperty(value="类型")
    private String type;
	@ApiModelProperty(value="商品ID")
    private Integer productId;
	@ApiModelProperty(value="商品属性")
    private String productAttrUnique;
	@ApiModelProperty(value="商品数量")
    private Integer cartNum;
	@ApiModelProperty(value="添加时间")
    private Integer addTime;
	@ApiModelProperty(value="0 = 未购买 1 = 已购买")
    private Integer isPay;
	@ApiModelProperty(value="是否删除")
    private Integer isDel;
	@ApiModelProperty(value="是否为立即购买")
    private Integer isNew;
	@ApiModelProperty(value="拼团id")
    private Integer combinationId;
	@ApiModelProperty(value="秒杀商品ID")
    private Integer seckillId;
	@ApiModelProperty(value="砍价id")
    private Integer bargainId;
	@ApiModelProperty(value="门店id")
    private Integer storeId;
	@ApiModelProperty(value="商品属性值主键id")
    private Integer attrValueId;
	@ApiModelProperty(value="数据来源")
    private String source;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUid() {
		return uid;
	}
	public String getType() {
		return type;
	}
	public Integer getProductId() {
		return productId;
	}
	public String getProductAttrUnique() {
		return productAttrUnique;
	}
	public Integer getAddTime() {
		return addTime;
	}
	public Integer getIsPay() {
		return isPay;
	}
	public Integer getIsDel() {
		return isDel;
	}
	public Integer getIsNew() {
		return isNew;
	}
	public Integer getCombinationId() {
		return combinationId;
	}
	public Integer getSeckillId() {
		return seckillId;
	}
	public Integer getBargainId() {
		return bargainId;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public Integer getAttrValueId() {
		return attrValueId;
	}
	public Integer getCartNum() {
		return cartNum;
	}
	public void setCartNum(Integer cartNum) {
		this.cartNum = cartNum;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public void setProductAttrUnique(String productAttrUnique) {
		this.productAttrUnique = productAttrUnique;
	}
	public void setAddTime(Integer addTime) {
		this.addTime = addTime;
	}
	public void setIsPay(Integer isPay) {
		this.isPay = isPay;
	}
	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
	public void setIsNew(Integer isNew) {
		this.isNew = isNew;
	}
	public void setCombinationId(Integer combinationId) {
		this.combinationId = combinationId;
	}
	public void setSeckillId(Integer seckillId) {
		this.seckillId = seckillId;
	}
	public void setBargainId(Integer bargainId) {
		this.bargainId = bargainId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public void setAttrValueId(Integer attrValueId) {
		this.attrValueId = attrValueId;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
    
}